package com.itheima.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@ConfigurationProperties("user")
@Configuration
public class UserProperties {
    private String username;

    private Integer age;

    private String password;

    private List<String> addressList;
}
